//
//  PPMediator+PPKeychain.h
//  PPMediator_Example
//
//  Created by ppss on 2021/6/18.
//  Copyright © 2021 ppss. All rights reserved.
//

#import <PPMediator/PPMediator.h>

NS_ASSUME_NONNULL_BEGIN

@interface PPMediator (PPKeychain)

#pragma mark - 钥匙串持久化
//数据是否存在钥匙串中
- (BOOL)PPMediator_ContainsKeychainForKey:(NSString *)key;

//存储数据
- (BOOL)PPMediator_SetKeychainForPassword:(id)password Key:(NSString *)key;

//获取数据
- (id)PPMediator_GetKeychainForKey:(NSString *)key;

//移除数据
- (BOOL)PPMediator_RemoveKeychainForKey:(NSString *)key;

@end

NS_ASSUME_NONNULL_END
